
import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
 * 获取 Alertruleconfig 分页列表
*/
export function getAlertruleconfigPagination(data: any) {
  return axios.get(`${context}/alertruleconfig/pagination`, { params: data });
}


/**
 * 获取 Alertruleconfig 所有数据
*/
export function getAlertruleconfigAllList(data: any) {
  return axios.get(`${context}/alertruleconfig/all`, { params: data });
}


/**
 * 获取 Alertruleconfig 详情
*/
export function getAlertruleconfigDetailById(id: any) {
  return axios.get(`${context}/alertruleconfig/${id}`, { params:{id} });
}


/**
 * 新增 Alertruleconfig
*/
export function addAlertruleconfig(data: any) {
  return axios.post(`${context}/alertruleconfig`, data);
}

/**
 * 修改 Alertruleconfig
*/
export function updateAlertruleconfig(data: any) {
  return axios.put(`${context}/alertruleconfig`, data);
}

/**
 * 删除 Alertruleconfig
*/
export function batchRemoveAlertruleconfig(data: any) {
  return axios.post(`${context}/alertruleconfig/batchRemove`, data);
}

    